@import "reset";
@import "../font/iconfont.css";
//清除浮动公用类
.clearfix:after{
  content: '';
  display: block;
  clear: both;
}
// 内容公共样式
.container {
  width: 1226px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
//要隐藏的元素公用类
.hide{
  display: none !important;
}
.sep{
  margin: 0 .3em;
  color: #424242;
}
.logo{
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  //要隐藏掉的文本内容：当CSS能加载出来，该文本不可见，当只有HTML加载出来，这个文字是可见的。
}
.ir{
  display: block;
  text-align: left;
  text-indent: -9999em;
  overflow: hidden;
}
.logo:before{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 56px;
  height: 56px;
  content: "";
  background: url("../img/logo-mi2.png") no-repeat;
  background-size: 56px;
}
/*---------------------------------------------------头部----------------------------------------------------------*/
.header{
  //顶部导航
  .site-topbar{
    position: relative;
    height: 40px;
    font-size: 12px;
    color: #b0b0b0;
    background: #333;
    .topbar-nav{
      float: left;
      height: 40px;
      line-height: 40px;
      a{
        color: #b0b0b0;
        line-height: 40px;
        display: inline-block;
      }
      a:hover {
        color: #fff;
      }
    }
    //购物车
    .topbar-cart{
      position: relative;
      float: right;
      width: 120px;
      height: 40px;
      margin-left: 15px;
      -webkit-transition: all .2s;
      transition: all .2s;
      font-size: 12px;
      .cart-mini{
        z-index: 32;
        display: block;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #b0b0b0;
        background: #424242;
        .iconfont-cart{
          margin-right: 4px;
          font-size: 20px;
          line-height: 20px;
          vertical-align: -4px;
        }
      }
      .cart-menu{
        position: absolute;
        right: 0;
        top: 40px;
        z-index: 31;
        width: 316px;
        height: 100px;
        color: #424242;
        background: #fff;
        -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.15);
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
        overflow: hidden;
        -webkit-transition: height .3s;
        transition: height .3s;
        .menu-content{
          padding: 20px 0 0;
          .msg{
            padding: 20px 0 20px;
            margin: 0 20px 20px;
            text-align: center;
          }
        }

      }
    }
    .topbar-info{
      position: relative;
      float: right;
      height: 40px;
      line-height: 40px;
      a{
        color: #b0b0b0;
      }
      a:hover {
        color: #fff;
      }
    }
  }
  //次级导航栏
  .site-header{
    height: 100px;
    position: relative;
    .container{
      width: 1226px;
      //居中
      margin-right: auto;
      margin-left: auto;
      .header-logo,.header-nav,.header-nav{
        float: left;
      }
      //logo
      .header-logo{
        float: left;
        width: 62px;
        margin-top: 22px;
      }
      //导航
      .header-nav{
        float: left;
        width: 850px;
        //ul
        .nav-list{
          position: relative;
          z-index: 10;
          float: left;
          width: 1100px;
          height: 88px;
          margin: 0;
          padding: 12px 0 0 30px;
          list-style-type: none;
          font-size: 16px;
          // li
          .nav-item {
            float: left;
            .link {
              display: block;
              padding: 26px 10px 38px;
              color: #333;
              -webkit-transition: color .2s;
              transition: color .2s;
            }
          }
          .nav-item:hover{
            a{
              color: #ff6600;
            }
          }
          // 隐藏li
          .nav-category{
            position: relative;
            float: left;
            width: 127px;
            height: 88px;
            padding-right: 15px;
            .typeAll{
              display: block;
              padding: 26px 0 38px;
              text-align: right;
              color: #333;
              font-size: 16px;
            }
          }
          //竖导航栏
          .site-category{
            display: block;
            width: 234px;
            height: 460px;
            position: absolute;
            top: 88px;
            left: -92px;
            z-index:21;
            font-size: 14px;
            background-color: #ffffff;
            //ul
            .site-category-list{
              height: 420px;
              border: 0;
              margin: 0;
              padding: 20px 0;
              list-style-type: none;
            }
            //li
            .category-item{
              a{
                display: block;
                padding-left: 30px;
                height: 42px;
                line-height: 42px;
                position: relative;
                font-size: 14px;
              }
              .icon-youjiantou{
                position: absolute;
                top: 12px;
                right: 20px;
                font-size: 16px;
                line-height: 16px;
              }
              //右侧hover商品页
              .children{
                width: 992px;
                position: absolute;
                top: 0;
                left: 234px;
                z-index: 24;
                height: 458px;
                border: 1px solid #e0e0e0;
                border-left-color: rgb(224, 224, 224);
                background: #fff;
                display: none;
                .children-list{
                  width: 248px;
                  height: 458px;
                  padding: 2px 0;
                  float: left;
                  li{
                    position: relative;
                    float: left;
                    width: 265px;
                    height: 76px;
                    .link{
                      display: block;
                      padding: 18px 20px;
                      line-height: 40px;
                      color: #333;
                      img{
                        width: 40px;
                        height: 40px;
                        float: left;
                        margin-right: 12px;
                      }
                      .text{
                        float: left;
                        width: 172px;
                        line-height: 40px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                      }
                    }
                  }
                }
              }
            }
            .category-item-active .title {
              background: #ff6700;
              color: #fff;
            }
            .category-item:hover{
              .title {
                background: #ff6700;
                color: #fff;
              }
            }
          }
        }
      }
      .header-search{
        float: right;
        width: 296px;
        margin-top: 25px;
        form{
          width: 296px;
          height: 50px;
          position: relative;
          input{
            position: absolute;
            top: 0;
            border: 1px solid #e0e0e0;
            outline: 0;
            -webkit-transition: all .2s;
            transition: all .2s;
          }
          .search-text{
            right: 51px;
            z-index: 1;
            width: 223px;
            height: 48px;
            padding: 0 10px;
            font-size: 14px;
            line-height: 48px;
          }
          .search-btn{
            position: absolute;
            right: 0;
            z-index: 2;
            width: 52px;
            height: 50px;
            font-size: 24px;
            line-height: 24px;
            background: #fff;
            color: #616161;

          }
        }
      }
    }
    // 下拉菜单
    .header-nav-menu{
      position: absolute;
      top: 100px;
      left: 0;
      z-index: 24;
      width: 100%;
      height: 229px;
      border-top: 1px solid #e0e0e0;
      background: #fff;
      overflow: hidden;
      display: none;
      .container{
        position: relative;
        .children-list{
          li{
            position: relative;
            float: left;
            width: 180px;
            padding: 35px 12px 0;
            text-align: center;
            .title{
              margin: 0;
              line-height: 20px;
            }
            .price{
              margin: 0;
              line-height: 20px;
              color: #ff6700;
            }
          }
        }
      }
    }
  }
}
/*--------------------------------------------------悬浮条---------------------------------------------------------*/
#J_proHeader{
  .product-box{
    position: relative;
    z-index: 4;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.07);
    box-shadow: 0 5px 5px rgba(0,0,0,0.07);
    .nav-bar{
      position: relative;
      height: 63px;
      width: 100%;
      margin-top: 0;
      color: #616161;
      .J_proName{
        display: block;
        margin: 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 60px;
        color: #212121;
        float: left;
      }
      .con{
        float: left;
        width: 100%;
        position: absolute;
        div{
          margin: 17px 0 0 0;
        }
        .left{
          float: left;
          margin-left: 80px;
          font-size: 12px;
          margin-top: 21px;
        }
        .right{
          float: right;
          .cur{
            color: #ff6700;;
          }
        }
      }
    }
  }
}

.micc9-index{
  .section {
    position: relative;
  }
  .section-intro{
    text-align: center;
    height: 15.45rem;
    overflow: hidden;
    _zoom: 1;
    position: relative;
  }
}